import React from "react";
import frame from '../../../style/frame.less';

import Trow from './trow';
import Thead from "./thead";

class Tbody extends React.Component {

    constructor(props) {
        super(props);
    }

    render() {
        return (
            <tbody>
            {this.props.data.map((item, index) => {
                return (
                    <Trow data={item} title={this.props.title} key={index}></Trow>
                )
            })}
            </tbody>
        )
    }
}

export default Tbody
